home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000356_carldeitrich5@comcast.net_Thu Oct 30 12:07:08 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: carldeitrich5@comcast.net (Carl)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: TEST NETWORK CONNECTION
Date: 30 Oct 2003 08:28:49 -0800
Organization: http://groups.google.com
Lines: 34
Message-ID: <4c64004.0310300828.29056c35@posting.google.com>
References: <4c64004.0310290631.3b5f136c@posting.google.com> <slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 146.145.216.207
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067531330 6305 127.0.0.1 (30 Oct 2003 16:28:50 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 30 Oct 2003 16:28:50 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14610
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>...
> In article <4c64004.0310290631.3b5f136c@posting.google.com>, Carl wrote:
> : I am trying to write a script which looks to see if a netwok
> : connection is available and if it is sent files over the network. If
> : the network is not available I want to initiate a script that will
> : send the files over a land line phone.
> :
> echo "Trying net..."
> set host xxx
> if fail {
> echo "Net connection failed - trying phone..."
> set modem type yyy
> set speed 57600 ; or whatever
> dial 7654321
> if fail exit 1 "Phone connection failed too"
> }
>
> ; If you reach this point you have a connection,
> ; and you can log in, start Kermit on the other end,
> ; transfer files, and log out.
>
> See "help set host" for SET HOST command details. See "help dial" and
> "help set dial" and "help set modem" for dialing options and details.
> See:
>
> http://www.columbia.edu/kermit/ckscripts.html
>
> for a scripting tutorial and examples.
>
> - Frank
FRANK,
THANKS ALOT! WORKED LIKE A CHARM
CARL